package jpaperwork.meta.descriptor;

/**
 * User: fleipold
 * Date: Jun 30, 2009
 * Time: 3:38:42 PM
 */
public class Field {
    private String name;
    private Type type;

    public Field(String name, Type type) {
        this.name = name;
        this.type = type;
    }

    public Field(String name) {
        this(name, new Flat());
    }

    
    public void setType(Type type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public Type getType() {
        return type;
    }


}
